package com.tt.fashionWebSite.domain;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * Created by 10520_000 on 10/30/14.
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "thong_tin_tv")
@NamedQueries({
      @NamedQuery(name = "getMemberInfor", query = "SELECT c FROM ThongTinThanhVien c") ,
})
public class ThongTinThanhVien implements Serializable {

    public static final String GET_INFO_MEMBER = "getMemberInfor";

    @Id
    @Column(name = "MA_TV")
    private String maTV;

    @Column(name = "HO")
    private String ho;

    @Column(name = "TEN")
    private String ten;

    @Column(name = "GIOI_TINH")
    private String gioiTinh;

    @Column(name = "SO_DT")
    private String soDT;

    @Column(name = "DIA_CHI")
    private String diaChi;

    @Column(name = "NGAY_SINH")
    private Date ngaySinh;

    public String getHo() {
        return ho;
    }

    public void setHo(String ho) {
        this.ho = ho;
    }

    public String getTen() {
        return ten;
    }

    public void setTen(String ten) {
        this.ten = ten;
    }

    public String getGioiTinh() {
        return gioiTinh;
    }

    public void setGioiTinh(String gioiTinh) {
        this.gioiTinh = gioiTinh;
    }

    public String getSoDT() {
        return soDT;
    }

    public void setSoDT(String soDT) {
        this.soDT = soDT;
    }

    public Date getNgaySinh() {
        return ngaySinh;
    }

    public void setNgaySinh(Date ngaySinh) {
        this.ngaySinh = ngaySinh;
    }

   public String getMaTV() {
      return maTV;
   }

   public void setMaTV(String maTV) {
      this.maTV = maTV;
   }

   public String getDiaChi() {
      return diaChi;
   }

   public void setDiaChi(String diaChi) {
      this.diaChi = diaChi;
   }
}
